package com.hzw.saas.service.storage.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hzw.saas.common.config.model.BaseLogicModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author zzl
 * @since 07/01/2021
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_resource_share")
public class ResourceShare extends BaseLogicModel {

    private static final long serialVersionUID = 1L;

    private String spaceId;

    /**
     * 分享名称
     */
    private String shareName;

    /**
     * 分享信息，含分享的文件和目录信息
     */
    private String shareInfo;

    /**
     * 分享密码
     */
    private String password;

    /**
     * 过期时间
     */
    private Date expireTime;

}
